using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Crossborder.Domian.Users
{
    public class User : BaseEntity
    {
        public string UserId { get; set; }

        public string UserName { get; set; }

        public string? NickName { get; set; }

        public string? Role { get; set; }

        public string? Email { get; set; }

        public void Create()
        {
            this.UserId = Guid.NewGuid().ToString();
            this.CreateDate = DateTime.Now;
            this.IsEnabled = true;
            this.IsDelete = false;
        }
    }
}